public class Test {
    public static void main(String[] args) {
        int[][] array = {{1, 0, 0, 0}, {1,2 ,0, 0}, {2,1,3, 0}, {1,2,1,4}};
        System.out.println("================");
        MatrixTriangle matrixTriangle=new MatrixTriangle();
        matrixTriangle.compress(array);
          System.out.println();

    }
}
